package com.cole.miniapp.project.enumeration.user;

/**
 * @Author: Ceanie
 * @Despriction:
 * @Date: Created in 22:47 2019-04-28
 * @Modify By: 登录状态  0、正常登录 1、禁止登录
 **/
public enum UserLoginEmun {
    /**
     * 用户允许登录
     */
    CODE_0((byte)0,"允许登录"),

    /**
     * 用户禁止登录
     */
    CODE_1((byte)1,"禁止登录");

    private final Byte code;

    private final String msg;

    private UserLoginEmun(Byte code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Byte getCode() {
        return code;
    }

    public String getMsg(){
        return msg;
    }
}
